﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace Argument.Models
{
    public class Assertion
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Body { get; set; }
        public bool IsDeprecated { get; set; }
    }

    public class AssertionLink
    {
        public int Id { get; set; }
        public Assertion Parent { get; set; }
        public Assertion Child { get; set; }
    }

    public class ArgumentDbContext : DbContext
    {
        public DbSet<Assertion> Assertions { get; set; }

        public DbSet<AssertionLink> AssertionLinks { get; set; }
    }
}